import service from '@/utils/request'


export const updateVip = (params) => {
  return service({
    url: '/adminUser/openVip',
    method: 'post',
    params
  })
}

export const findVip = (params) => {
  return service({
    url: '/adminUser/getUserDate',
    method: 'get',
    params
  })
}

export const getVipList = (params) => {
  return service({
    url: '/adminUser/getOpenVipRecord',
    method: 'get',
    params
  })
}

export const getAllVipList = (params) => {
  return service({
    url: '/adminUser/getAllOpenVipRecord',
    method: 'get',
    params
  })
}

export const getServiceStationVipList = (params) => {
  return service({
    url: '/adminUser/getServiceStationOpenVipRecord',
    method: 'get',
    params
  })
}